package baidu.com.matedemo;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;

import baidu.com.matedemo.base.BaseFragment;

/**
 * Created by lihui on 2018/3/30.
 */

public class DuerSDKAPIIntro extends BaseFragment {
    @Override
    public View onCreateContentViewCompat(LayoutInflater inflater, ViewGroup viewGroup, Bundle savedInstanceState) {
        return inflater.inflate(R.layout.layout_duersdk_api, viewGroup, false);
    }

    @Override
    public void onContentViewCreated(View view) {
        WebView webView = (WebView) view.findViewById(R.id.duersdk_api_web);
        webView.loadUrl("file:///android_asset/duersdk.html");
    }
}
